package cn.webrx;

import java.util.LinkedList;

public class LinkedList1 {
    public static void main(String[] args) {
        LinkedList<String> list = new LinkedList<>();
        list.add(0,"java");
        list.add(0,"php");
        list.addFirst("javascript");
        System.out.println(list);

    }
}
